//
//  AppDelegate.h
//  MGSplitView
//
//  Created by Matt Gemmell on 26/07/2010.
//  Copyright Instinctive Code 2010.
//

#import <UIKit/UIKit.h>
#import "Data_Model.h"

@class MGTreeViewController;
@class MGChartViewController;
@class MGSplitViewController;
@class MGQuoteViewController;


@interface AppDelegate : NSObject <UIApplicationDelegate> {
    //資料物件
    Data_Model *datamodel;    
    
    //主視窗
    UIWindow *window;
    
    //次視窗
    MGSplitViewController *splitViewController;
   
    //次次視窗
    MGTreeViewController  *treeViewController; 
    MGChartViewController *chartViewController;
    MGQuoteViewController *quoteViewController;    
    
    UIActivityIndicatorView *ActivityIndicator;
    
    
}

 

//訊息公告後要執行的方法
-(void)received_Quote_Table_finished:(NSNotification *)note;
-(void)received_Quote_Table_begin:(NSNotification *)note;
-(void)received_His_Data_finished:(NSNotification *)note;
-(void)received_His_Data_begin:(NSNotification *)note;

//切換走勢圖
-(void)start_draw_chart:(NSString *)cods;

@end
